.img-view {
  display: block;
  height: 100%;
  width: 100%;
  border: 3px solid #fff;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, .15);
  cursor: pointer;
  overflow: hidden;
}

.img-view img {
  width: 100%;
}

.img-wrapper {
  height: 100%;
  width: 100%;
  margin-top: 15px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, .25);
  background-color: #fcfcfc;
  overflow: hidden;
}

.img-wrapper img {
  display: block;
  height: auto;
  max-width: 100%;
}

.img-preview {
  float: left;
  margin-top: 15px;
  margin-right: 15px;
  border: 1px solid #eee;
  border-radius: 4px;
  background-color: #fff;
  overflow: hidden;
}

.img-preview img {
  width: 100%;
}

.preview-lg {
  height: 200px;
  width: 200px;
  margin-top: 15px;
}

.preview-md {
  height: 100px;
  width: 100px;
}

.preview-sm {
  height: 50px;
  width: 50px;
}

@media (min-width: 992px) {
  .img-preview {
    float: none;
  }
}